package com.gao.sqlserverspeedy.server.impl;

import com.gao.sqlserverspeedy.entity.SqlTables;
import com.gao.sqlserverspeedy.mapper.SqlTabelMapper;
import com.gao.sqlserverspeedy.mapper.SysUserMapper;
import com.gao.sqlserverspeedy.server.ISqlTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SqlTableServiceImpl implements ISqlTableService {
    @Autowired
    private SqlTabelMapper sqlTabelMapper;

    @Override
    public List<String> selectTables() {
        return sqlTabelMapper.selectTables();
    }

    @Override
    public List<SqlTables> selectTableInfo(String tableName) {
        return sqlTabelMapper.selectTableInfo(tableName);
    }
}
